package movee.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import movee.domain.common.BaseBackupDevice;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;


/**
 *
 *
 * @author movee
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Schema(description = "设备备份信息")
public class BackupDeviceDto extends BaseBackupDevice {

    @SchemaProperty(name = "文件大小")
    private String fileSize;

    @SchemaProperty(name = "任务状态")
    private String status;

    @SchemaProperty(name = "任务类型")
    private String taskType;

    /**
     * 失败原因类型
     */
    @SchemaProperty(name = "失败类型")
    private String errType;
}
